package com.mall.group_booking.mapper;

import com.mall.entity.groupbooking.GbRoot;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author White
 * @version 1.0
 * @email 616769721@qq.com
 * @date 2021/7/29 20:49
 */
@Mapper
public interface BookingRootMapper {
    List<GbRoot> findPage(GbRoot root);

    void createBookingRoot(GbRoot gbRoot);

    GbRoot findById(Integer rootId);

    List<GbRoot> findBookingRoot(Long uid);

    void updateStatusById(@Param("id") Integer id,@Param("status") String status);

    void updateBookingRoot(GbRoot gbRoot);
}
